package com.runfast.waimai.dao.model;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;

public class RunfastBusinessDaily implements Serializable {
    private Integer id;

    private Integer businessId;

    private String businessName;

    private Integer agentId;

    private String agentName;

    private Date date;

    /**
     * 有效订单数量
     */
    private Integer orderQuantity;

    /**
     * 有效订单金额
     */
    private BigDecimal orderAmount;

    /**
     * 有效配送订单数量
     */
    private Integer orderWaimaiQuantity;

    /**
     * 有效配送订单金额
     */
    private BigDecimal orderWaimaiAmount;

    /**
     * 取消订单数量
     */
    private Integer orderCancelQuantity;

    /**
     * 取消订单金额
     */
    private BigDecimal orderCancelAmount;

    /**
     * 拒单订单数量
     */
    private Integer orderRefuseQuantity;

    /**
     * 拒单订单金额
     */
    private BigDecimal orderRefuseAmount;

    /**
     * 超时订单数量
     */
    private Integer orderOvertimeQuantity;

    /**
     * 差评订单数量
     */
    private Integer orderNegetiveCommentQuantity;

    /**
     * 活动支出
     */
    private BigDecimal activityCost;

    /**
     * 新顾客订单数量
     */
    private Integer newCustomerQuantity;

    /**
     * 新顾客订单金额
     */
    private BigDecimal newCustomerAmount;

    private static final long serialVersionUID = 1L;

    public Integer getId() {
        return id;
    }

    public RunfastBusinessDaily withId(Integer id) {
        this.setId(id);
        return this;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public Integer getBusinessId() {
        return businessId;
    }

    public RunfastBusinessDaily withBusinessId(Integer businessId) {
        this.setBusinessId(businessId);
        return this;
    }

    public void setBusinessId(Integer businessId) {
        this.businessId = businessId;
    }

    public String getBusinessName() {
        return businessName;
    }

    public RunfastBusinessDaily withBusinessName(String businessName) {
        this.setBusinessName(businessName);
        return this;
    }

    public void setBusinessName(String businessName) {
        this.businessName = businessName == null ? null : businessName.trim();
    }

    public Integer getAgentId() {
        return agentId;
    }

    public RunfastBusinessDaily withAgentId(Integer agentId) {
        this.setAgentId(agentId);
        return this;
    }

    public void setAgentId(Integer agentId) {
        this.agentId = agentId;
    }

    public String getAgentName() {
        return agentName;
    }

    public RunfastBusinessDaily withAgentName(String agentName) {
        this.setAgentName(agentName);
        return this;
    }

    public void setAgentName(String agentName) {
        this.agentName = agentName == null ? null : agentName.trim();
    }

    public Date getDate() {
        return date;
    }

    public RunfastBusinessDaily withDate(Date date) {
        this.setDate(date);
        return this;
    }

    public void setDate(Date date) {
        this.date = date;
    }

    public Integer getOrderQuantity() {
        return orderQuantity;
    }

    public RunfastBusinessDaily withOrderQuantity(Integer orderQuantity) {
        this.setOrderQuantity(orderQuantity);
        return this;
    }

    public void setOrderQuantity(Integer orderQuantity) {
        this.orderQuantity = orderQuantity;
    }

    public BigDecimal getOrderAmount() {
        return orderAmount;
    }

    public RunfastBusinessDaily withOrderAmount(BigDecimal orderAmount) {
        this.setOrderAmount(orderAmount);
        return this;
    }

    public void setOrderAmount(BigDecimal orderAmount) {
        this.orderAmount = orderAmount;
    }

    public Integer getOrderWaimaiQuantity() {
        return orderWaimaiQuantity;
    }

    public RunfastBusinessDaily withOrderWaimaiQuantity(Integer orderWaimaiQuantity) {
        this.setOrderWaimaiQuantity(orderWaimaiQuantity);
        return this;
    }

    public void setOrderWaimaiQuantity(Integer orderWaimaiQuantity) {
        this.orderWaimaiQuantity = orderWaimaiQuantity;
    }

    public BigDecimal getOrderWaimaiAmount() {
        return orderWaimaiAmount;
    }

    public RunfastBusinessDaily withOrderWaimaiAmount(BigDecimal orderWaimaiAmount) {
        this.setOrderWaimaiAmount(orderWaimaiAmount);
        return this;
    }

    public void setOrderWaimaiAmount(BigDecimal orderWaimaiAmount) {
        this.orderWaimaiAmount = orderWaimaiAmount;
    }

    public Integer getOrderCancelQuantity() {
        return orderCancelQuantity;
    }

    public RunfastBusinessDaily withOrderCancelQuantity(Integer orderCancelQuantity) {
        this.setOrderCancelQuantity(orderCancelQuantity);
        return this;
    }

    public void setOrderCancelQuantity(Integer orderCancelQuantity) {
        this.orderCancelQuantity = orderCancelQuantity;
    }

    public BigDecimal getOrderCancelAmount() {
        return orderCancelAmount;
    }

    public RunfastBusinessDaily withOrderCancelAmount(BigDecimal orderCancelAmount) {
        this.setOrderCancelAmount(orderCancelAmount);
        return this;
    }

    public void setOrderCancelAmount(BigDecimal orderCancelAmount) {
        this.orderCancelAmount = orderCancelAmount;
    }

    public Integer getOrderRefuseQuantity() {
        return orderRefuseQuantity;
    }

    public RunfastBusinessDaily withOrderRefuseQuantity(Integer orderRefuseQuantity) {
        this.setOrderRefuseQuantity(orderRefuseQuantity);
        return this;
    }

    public void setOrderRefuseQuantity(Integer orderRefuseQuantity) {
        this.orderRefuseQuantity = orderRefuseQuantity;
    }

    public BigDecimal getOrderRefuseAmount() {
        return orderRefuseAmount;
    }

    public RunfastBusinessDaily withOrderRefuseAmount(BigDecimal orderRefuseAmount) {
        this.setOrderRefuseAmount(orderRefuseAmount);
        return this;
    }

    public void setOrderRefuseAmount(BigDecimal orderRefuseAmount) {
        this.orderRefuseAmount = orderRefuseAmount;
    }

    public Integer getOrderOvertimeQuantity() {
        return orderOvertimeQuantity;
    }

    public RunfastBusinessDaily withOrderOvertimeQuantity(Integer orderOvertimeQuantity) {
        this.setOrderOvertimeQuantity(orderOvertimeQuantity);
        return this;
    }

    public void setOrderOvertimeQuantity(Integer orderOvertimeQuantity) {
        this.orderOvertimeQuantity = orderOvertimeQuantity;
    }

    public Integer getOrderNegetiveCommentQuantity() {
        return orderNegetiveCommentQuantity;
    }

    public RunfastBusinessDaily withOrderNegetiveCommentQuantity(Integer orderNegetiveCommentQuantity) {
        this.setOrderNegetiveCommentQuantity(orderNegetiveCommentQuantity);
        return this;
    }

    public void setOrderNegetiveCommentQuantity(Integer orderNegetiveCommentQuantity) {
        this.orderNegetiveCommentQuantity = orderNegetiveCommentQuantity;
    }

    public BigDecimal getActivityCost() {
        return activityCost;
    }

    public RunfastBusinessDaily withActivityCost(BigDecimal activityCost) {
        this.setActivityCost(activityCost);
        return this;
    }

    public void setActivityCost(BigDecimal activityCost) {
        this.activityCost = activityCost;
    }

    public Integer getNewCustomerQuantity() {
        return newCustomerQuantity;
    }

    public RunfastBusinessDaily withNewCustomerQuantity(Integer newCustomerQuantity) {
        this.setNewCustomerQuantity(newCustomerQuantity);
        return this;
    }

    public void setNewCustomerQuantity(Integer newCustomerQuantity) {
        this.newCustomerQuantity = newCustomerQuantity;
    }

    public BigDecimal getNewCustomerAmount() {
        return newCustomerAmount;
    }

    public RunfastBusinessDaily withNewCustomerAmount(BigDecimal newCustomerAmount) {
        this.setNewCustomerAmount(newCustomerAmount);
        return this;
    }

    public void setNewCustomerAmount(BigDecimal newCustomerAmount) {
        this.newCustomerAmount = newCustomerAmount;
    }

    @Override
    public String toString() {
        StringBuilder sb = new StringBuilder();
        sb.append(getClass().getSimpleName());
        sb.append(" [");
        sb.append("Hash = ").append(hashCode());
        sb.append(", id=").append(id);
        sb.append(", businessId=").append(businessId);
        sb.append(", businessName=").append(businessName);
        sb.append(", agentId=").append(agentId);
        sb.append(", agentName=").append(agentName);
        sb.append(", date=").append(date);
        sb.append(", orderQuantity=").append(orderQuantity);
        sb.append(", orderAmount=").append(orderAmount);
        sb.append(", orderWaimaiQuantity=").append(orderWaimaiQuantity);
        sb.append(", orderWaimaiAmount=").append(orderWaimaiAmount);
        sb.append(", orderCancelQuantity=").append(orderCancelQuantity);
        sb.append(", orderCancelAmount=").append(orderCancelAmount);
        sb.append(", orderRefuseQuantity=").append(orderRefuseQuantity);
        sb.append(", orderRefuseAmount=").append(orderRefuseAmount);
        sb.append(", orderOvertimeQuantity=").append(orderOvertimeQuantity);
        sb.append(", orderNegetiveCommentQuantity=").append(orderNegetiveCommentQuantity);
        sb.append(", activityCost=").append(activityCost);
        sb.append(", newCustomerQuantity=").append(newCustomerQuantity);
        sb.append(", newCustomerAmount=").append(newCustomerAmount);
        sb.append(", serialVersionUID=").append(serialVersionUID);
        sb.append("]");
        return sb.toString();
    }
}